//
//  DataBaseHelper.h
//  FMDB使用
//
//  Created by 檀志文 on 16/5/21.
//  Copyright © 2016年 ios檀志文. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <FMDatabase.h>
@class CTPMessage;

@interface DataBaseHelper : NSObject
@property (nonatomic, strong) FMDatabase *db;

+(DataBaseHelper *)sharedDataBaseHelper;

- (void)insertMessage:(CTPMessage *)message;
- (void)updateMessage:(CTPMessage *)message;
- (NSArray *)queryMessage;

-(NSArray *)selectMessage;

@end
